<?php // no direct access
defined('_JEXEC') or die('Restricted access');

foreach ($list as $item) :
	$text = $item->text;
	$text = str_replace("<br />", "\n", $text);
	$text = strip_tags($text);
	echo $text;
endforeach;